package com.youmans.eduservice.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.youmans.eduservice.entity.EduTeacher;
import com.youmans.eduservice.entity.vo.TeacherQuery;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 讲师 服务类
 * </p>
 *
 * @author testjava
 * @since 2022-04-29
 */
public interface EduTeacherService extends IService<EduTeacher> {
    IPage<EduTeacher> pageCondition(Page<EduTeacher> pageTeacher, TeacherQuery teacherQuery);

    List<EduTeacher> getlist();

    IPage<EduTeacher> page(Integer pageNum,Integer pageSize);

    Map<String, Object> getTeacherFrontList(Page<EduTeacher> teacherPage);
}
